package com.gues.ddc_app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huHang
 * @since 2023-02-12
 */
@Data
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 菜品编号
     */
    @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    /**
     * 店铺编号
     */
    private Integer shopId;

    /**
     * 菜品名
     */
    private String menuName;

    /**
     * 价格
     */
    private Integer price;

    /**
     * 图片
     */
    private String image;
    @TableField(exist = false)
    private Shop shop;
}
